flowchart LR
  subgraph sg0["Basic test"]
    direction LR
  n1{"This is a named statement"}
  class n1 decisionNode;
  n2["Then Statement"]
n1 --> n2
  n3["Else Statement"]
n1 --> n3
  end